<!DOCTYPE html>
<html class="pixel-ratio-1" style="background-color: #f1f1f1;">

<head>
    <meta charset="utf-8" />
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
    <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
    <meta name="viewport" content="width=375, user-scalabe=no">
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <title>销售计划 - 详情</title>
    <link rel="stylesheet" type="text/css" href="../../../../public/vendor/weui/weui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../../public/css/common.css" />
    <link rel="stylesheet" type="text/css" href="../../../../public/css/iconfont/iconfont.css" />
    <link rel="stylesheet" href="../../../../public/vendor/weui/jquery-weui.css">
    <link rel="stylesheet" href="../../../../public/vendor/select2/select2.css">
    <link rel="stylesheet" href="../../../../public/css/features/breedsales/saleplans/saleplansdetail.css">

</head>

<body style="background-color: #f1f1f1; font-size: 14px;">
    <div id="vehicle-app" class="d-none">
        <form class="addsalesplan-form">
            <div class="cells__group-title">
                组织信息
            </div>
            <div class="weui-cells__group">
                <div class="report-contents-item-box">
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">单据编号</label></div>
                        <div class="weui-cell__bd">{{ form.billNo }}</div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">业务日期</label></div>
                        <div class="weui-cell__bd">{{ form.bizDate }}</div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">公司</label></div>
                        <div class="weui-cell__bd">{{ form.saleOrgName }}</div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">农场</label></div>
                        <div class="weui-cell__bd">{{ form.farmOrgName }}</div>
                    </div>
                </div>
            </div>
            <div class="cells__group-title">
                猪只信息
            </div>
            <div class="weui-cells__group">
                <div class="report-contents-item-box">
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">批次</label></div>
                        <div class="weui-cell__bd">{{ form.breedBatchName }}</div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">入群日期</label></div>
                        <div class="weui-cell__bd">{{ form.entryDate }}</div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">日龄(天)</label></div>
                        <div class="weui-cell__bd">{{ form.pigDays }}</div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">数量(头)</label></div>
                        <div class="weui-cell__bd">{{ form.count }}</div>
                    </div>
                    <div class="weui-cell" v-if="form.checkCount">
                        <div class="weui-cell__hd"><label class="weui-label">核定数量(头)</label></div>
                        <div class="weui-cell__bd">{{Utils.toThousands(form.checkCount,0)}}</div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">销售品类</label></div>
                        <div class="weui-cell__bd">{{ getNameById(form.pigType, pigTypeOptions) }}</div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">均重(kg)</label></div>
                        <div class="weui-cell__bd">{{ form.avgWeight }}</div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd"><label class="weui-label">正负差(kg)</label></div>
                        <div class="weui-cell__bd">{{ form.difference }}</div>
                    </div>
                </div>
            </div>
            <div class="cells__group-title">
                其他
            </div>
            <div class="weui-cells__group">
                <div class="report-contents-item-box">
                    <div class="weui-cell">
                        <div class="weui-cell__hd">
                            <label class="weui-label">备注</label>
                            <div>{{form.remark}}</div>
                        </div>
                    </div>
                    <div class="weui-cell">
                        <div class="weui-cell__hd">
                            <label class="weui-label">附件</label>
                            <li v-for="(item, index) in form.attachList" :key="index" class="weui-uploader__file">
                                <img class="attach-image" :src="item" alt="" @click="previewImage(item)">
                            </li>
                        </div>
                    </div>
                </div>
            </div>
        </form>

        <div class="report-contents-item-box operation ">
            <div class="weui-cell operation-child">
                <a href="javascript:;" class="weui-btn weui-btn_primary"
                    style="width: 100%;border-radius:8px;margin-top: 0px;margin-right: 0px;" id="informationSubmit"
                    @click="returnList">返回列表</a>
            </div>
        </div>
    </div>
    <!-- <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
      <script>
      // VConsole 默认会挂载到 `window.VConsole` 上
      var vConsole = new window.VConsole();
      </script> -->


    <script type="text/javascript" src="../../../../public/vendor/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/vue/vue.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/moment/moment.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/weui/weui.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/weui/jquery-weui.min.js"></script>
    <script type="text/javascript" src="../../../../public/js/common/iosadaptation.js"></script>
    <script type="text/javascript" src="../../../../public/js/config/utils.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/select2/select2.full.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/select2/i18n/zh-CN.js"></script>

    <script type="module" src="../../../../public/js/features/breedsales/saleplans/saleplansdetail.js"></script>
</body>

</html>